package com.anjie.powerproject.common;

/**
 * 当data_day不存在时的补值策略
 */
public enum FillStrategyEnum {
    FILL_POSITIVE_ONE(1, "不存在的data补正1")
    ,FILL_NEGATIVE_ONE(-1, "不存在的data补负1")
    ,FILL_ZERO(0, "不存在的data补0")
    ,FILL_OTHER_VALUE(2, "不存在的data补给定值")
    ,UNDO(-2, "什么也不做");


    private int code;
    private String strategy;

    FillStrategyEnum(int code, String strategy) {
        this.code = code;
        this.strategy = strategy;
    }

    public int getCode() {
        return code;
    }

    public String getStrategy() {
        return strategy;
    }
}
